/**
 * Copyright (c) 2002-2011 旭鸣信息
 * All rights reserved. 
 * File：PageCenterStation.java
 * History:
 *       May 14, 2012: Initially created, liuzhi.
 */
package com.xteam.ecsystem.utils;

import java.io.Serializable;
import java.util.List;

/**
 * 数据分页中间处理站
 * 
 * 目前只需用到总记录树和数据列表对象
 * 
 * @author liuzhi
 * 
 */
public class PageCenterStation<E> implements Serializable {

	private static final long serialVersionUID = -5894588152019346471L;

	/**
	 * 总记录数
	 */
	private long total;

	/**
	 * 数据列表
	 */
	private List<E> data = null;

	public PageCenterStation() {

	}

	public PageCenterStation(long count, List<E> list) {
		this.total = count;
		this.data = list;
	}

	public List<E> getData() {
		return data;
	}

	public void setData(List<E> data) {
		this.data = data;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

}
